/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.service;

import com.qdu.entity.PublicActivity;
import java.util.List;

/**
 *
 * @author PseudoDisciple
 */
public interface PublicActivityService {
    int submitNewPublic(PublicActivity p);//添加一个新活动
    int modifyPublicSituation(PublicActivity p);//修改活动内容
    int deletePublic(int Pno);//删除活动
    int joinActivity(PublicActivity p);
    PublicActivity findActivityById(int Pno);
    List<PublicActivity> displayAllPublic();//展示所有活动
    List<PublicActivity> findPublicActivityByUno(int Uno);
    List<PublicActivity> findPublicActivityByKeyword(String Ptopic);
}
